package com.caigou.service.impl;

import com.caigou.bean.cms.entity.Template;
import com.caigou.mapper.cms.TemplateMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Slf4j
@Service("templateService")
public class TemplateServiceImpl implements com.caigou.service.TemplateService {
    @Resource
    private TemplateMapper templateMapper;

    public Template selectByTemplateCode(String templateCode){
        return templateMapper.selectByTemplateCode(templateCode);
    }
}
